package com.power.bank.member.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.power.bank.common.annotation.Excel;
import com.power.bank.common.core.domain.BaseEntity;

/**
 * 会员信息对象 pb_member
 * 
 * @author ruoyi
 * @date 2024-12-13
 */
public class PbMember extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 会员登录密码 */
    @Excel(name = "会员登录密码")
    private String pwd;

    /** 会员状态(0:停用,1:启用,2:已删除)默认为1 */
    @Excel(name = "会员状态(0:停用,1:启用,2:已删除)默认为1")
    private Long status;

    /** 最后登录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastLoginTime;

    /** 会员所属的businessid */
    @Excel(name = "会员所属的businessid")
    private Long bantId;

    /** 推荐人的mid */
    @Excel(name = "推荐人的mid")
    private Long referid;

    /** 个人头像 */
    @Excel(name = "个人头像")
    private String logo;

    /** 会员编号 */
    @Excel(name = "会员编号")
    private String no;

    /** 会员来源(1:支付宝、2：微信) */
    @Excel(name = "会员来源(1:支付宝、2：微信)")
    private Long source;

    /** 会员真姓名 */
    @Excel(name = "会员真姓名")
    private String realname;

    /** 会员昵称 */
    @Excel(name = "会员昵称")
    private String nickname;

    /** 会员性别(1:女性,2:男性,0:保密) */
    @Excel(name = "会员性别(1:女性,2:男性,0:保密)")
    private Long sex;

    /** 会员临时邮箱(如已通过验证则转移到real_email) */
    @Excel(name = "会员临时邮箱(如已通过验证则转移到real_email)")
    private String tempemail;

    /** 会员临时手机号(如通过验证则转移real_mobile) */
    @Excel(name = "会员临时手机号(如通过验证则转移real_mobile)")
    private String tempmobile;

    /** 已验证的邮箱地址 */
    @Excel(name = "已验证的邮箱地址")
    private String realemail;

    /** 已验证的手机号 */
    @Excel(name = "已验证的手机号")
    private String realmobile;

    /** 会员所属大区 */
    @Excel(name = "会员所属大区")
    private String zone;

    /** 会员所在省份 */
    @Excel(name = "会员所在省份")
    private String province;

    /** 会员所属城市 */
    @Excel(name = "会员所属城市")
    private String city;

    /** 会员所属区域 */
    @Excel(name = "会员所属区域")
    private String area;

    /** 会员地址 */
    @Excel(name = "会员地址")
    private String address;

    /** 会员邮编号码 */
    @Excel(name = "会员邮编号码")
    private String postcode;

    /** 会员微信号 */
    @Excel(name = "会员微信号")
    private String wechat;

    /** 推广员审核备注 */
    @Excel(name = "推广员审核备注")
    private String constellation;

    /** 会员生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "会员生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 会员身份证号 */
    @Excel(name = "会员身份证号")
    private String idno;

    /** 是否已验证邮箱(0:没有,1:已验) */
    @Excel(name = "是否已验证邮箱(0:没有,1:已验)")
    private Long isrealemail;

    /** 是否已验证手机(0:没有,1:已验) */
    @Excel(name = "是否已验证手机(0:没有,1:已验)")
    private Long isrealmobile;

    /** 积分帐户,默认为0,支持小数位 */
    @Excel(name = "积分帐户,默认为0,支持小数位")
    private BigDecimal gold;

    /** 资金账户(可提现可充值账户) */
    @Excel(name = "资金账户(可提现可充值账户)")
    private BigDecimal capital;

    /** 冻结资金 */
    @Excel(name = "冻结资金")
    private BigDecimal frozenCapital;

    /** 已用信用额度 */
    @Excel(name = "已用信用额度")
    private BigDecimal credit;

    /** 会员支付密码 */
    @Excel(name = "会员支付密码")
    private String payPwd;

    /** 邀请码 */
    @Excel(name = "邀请码")
    private String invitationCode;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPwd(String pwd) 
    {
        this.pwd = pwd;
    }

    public String getPwd() 
    {
        return pwd;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setLastLoginTime(Date lastLoginTime) 
    {
        this.lastLoginTime = lastLoginTime;
    }

    public Date getLastLoginTime() 
    {
        return lastLoginTime;
    }
    public void setBantId(Long bantId) 
    {
        this.bantId = bantId;
    }

    public Long getBantId() 
    {
        return bantId;
    }
    public void setReferid(Long referid) 
    {
        this.referid = referid;
    }

    public Long getReferid() 
    {
        return referid;
    }
    public void setLogo(String logo) 
    {
        this.logo = logo;
    }

    public String getLogo() 
    {
        return logo;
    }
    public void setNo(String no) 
    {
        this.no = no;
    }

    public String getNo() 
    {
        return no;
    }
    public void setSource(Long source) 
    {
        this.source = source;
    }

    public Long getSource() 
    {
        return source;
    }
    public void setRealname(String realname) 
    {
        this.realname = realname;
    }

    public String getRealname() 
    {
        return realname;
    }
    public void setNickname(String nickname) 
    {
        this.nickname = nickname;
    }

    public String getNickname() 
    {
        return nickname;
    }
    public void setSex(Long sex) 
    {
        this.sex = sex;
    }

    public Long getSex() 
    {
        return sex;
    }
    public void setTempemail(String tempemail) 
    {
        this.tempemail = tempemail;
    }

    public String getTempemail() 
    {
        return tempemail;
    }
    public void setTempmobile(String tempmobile) 
    {
        this.tempmobile = tempmobile;
    }

    public String getTempmobile() 
    {
        return tempmobile;
    }
    public void setRealemail(String realemail) 
    {
        this.realemail = realemail;
    }

    public String getRealemail() 
    {
        return realemail;
    }
    public void setRealmobile(String realmobile) 
    {
        this.realmobile = realmobile;
    }

    public String getRealmobile() 
    {
        return realmobile;
    }
    public void setZone(String zone) 
    {
        this.zone = zone;
    }

    public String getZone() 
    {
        return zone;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setPostcode(String postcode) 
    {
        this.postcode = postcode;
    }

    public String getPostcode() 
    {
        return postcode;
    }
    public void setWechat(String wechat) 
    {
        this.wechat = wechat;
    }

    public String getWechat() 
    {
        return wechat;
    }
    public void setConstellation(String constellation) 
    {
        this.constellation = constellation;
    }

    public String getConstellation() 
    {
        return constellation;
    }
    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }
    public void setIdno(String idno) 
    {
        this.idno = idno;
    }

    public String getIdno() 
    {
        return idno;
    }
    public void setIsrealemail(Long isrealemail) 
    {
        this.isrealemail = isrealemail;
    }

    public Long getIsrealemail() 
    {
        return isrealemail;
    }
    public void setIsrealmobile(Long isrealmobile) 
    {
        this.isrealmobile = isrealmobile;
    }

    public Long getIsrealmobile() 
    {
        return isrealmobile;
    }
    public void setGold(BigDecimal gold) 
    {
        this.gold = gold;
    }

    public BigDecimal getGold() 
    {
        return gold;
    }
    public void setCapital(BigDecimal capital) 
    {
        this.capital = capital;
    }

    public BigDecimal getCapital() 
    {
        return capital;
    }
    public void setFrozenCapital(BigDecimal frozenCapital) 
    {
        this.frozenCapital = frozenCapital;
    }

    public BigDecimal getFrozenCapital() 
    {
        return frozenCapital;
    }
    public void setCredit(BigDecimal credit) 
    {
        this.credit = credit;
    }

    public BigDecimal getCredit() 
    {
        return credit;
    }
    public void setPayPwd(String payPwd) 
    {
        this.payPwd = payPwd;
    }

    public String getPayPwd() 
    {
        return payPwd;
    }
    public void setInvitationCode(String invitationCode) 
    {
        this.invitationCode = invitationCode;
    }

    public String getInvitationCode() 
    {
        return invitationCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("pwd", getPwd())
            .append("status", getStatus())
            .append("lastLoginTime", getLastLoginTime())
            .append("bantId", getBantId())
            .append("referid", getReferid())
            .append("logo", getLogo())
            .append("no", getNo())
            .append("source", getSource())
            .append("realname", getRealname())
            .append("nickname", getNickname())
            .append("sex", getSex())
            .append("tempemail", getTempemail())
            .append("tempmobile", getTempmobile())
            .append("realemail", getRealemail())
            .append("realmobile", getRealmobile())
            .append("zone", getZone())
            .append("province", getProvince())
            .append("city", getCity())
            .append("area", getArea())
            .append("address", getAddress())
            .append("postcode", getPostcode())
            .append("wechat", getWechat())
            .append("constellation", getConstellation())
            .append("birthday", getBirthday())
            .append("idno", getIdno())
            .append("isrealemail", getIsrealemail())
            .append("isrealmobile", getIsrealmobile())
            .append("gold", getGold())
            .append("capital", getCapital())
            .append("frozenCapital", getFrozenCapital())
            .append("credit", getCredit())
            .append("remark", getRemark())
            .append("payPwd", getPayPwd())
            .append("invitationCode", getInvitationCode())
            .toString();
    }
}
